package com.itheima.mp.domain.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class ResultType<T> {
    private int code;
    private T data;
    private String msg;

    public ResultType(int code, T data, String msg){
        this.data = data;
        this.code = code;
        this.msg = msg;
    }
}
